package com.leco.demo;

import com.leco.spring.Autowire;
import com.leco.spring.Component;
import com.leco.spring.Scope;

/**
 * @author greg
 * @version 2022/10/12
 **/
@Component
//@Scope("prototype")
public class OrderService {
    @Autowire
    private UserService userService;

    public void test() {
        System.out.println(userService);
    }
}
